<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>    
    <title>参与式感知</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
<link rel="stylesheet" href="${pageContext.request.contextPath}/static/bootstrap3/css/bootstrap.min.css">
<link rel="stylesheet" href="${pageContext.request.contextPath}/static/bootstrap3/css/bootstrap-theme.min.css">
<link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/blog.css">
<script src="${pageContext.request.contextPath}/static/bootstrap3/js/jquery-1.11.2.min.js"></script>
<script src="${pageContext.request.contextPath}/static/bootstrap3/js/bootstrap.min.js"></script>

<style>
body{
	background: #ffffff;
	font-family: "Helvetica Neue","Hiragino Sans GB","Microsoft YaHei","\9ED1\4F53",Arial,sans-serif;
	color: #222;
	font-size: 14px;
	padding-top: 10px;
    padding-bottom: 40px;
}
</style>

</head>
  
<body>
<div class="container">
	<jsp:include page="head.jsp"/>
	<jsp:include page="menu.jsp"/>
  <div class="datas">
    <h4>【任务列表】 </h4>
    <ul>
    <c:forEach var="event" items="${EventList }">
	    <li style="margin-bottom: 30px">
	        <span class="title"><a href="${pageContext.request.contextPath}/event/show/${event.eid}.html">${event.etitle }</a></span>
	        <br>
		  	<span class="summary">内容: ${event.econtent }...</span>
		  	<span class="info">发布者： ${event.uname } </span>
		  	<span class="date">发布时间： ${event.cretime } </span>
	     </li>
		  <hr style="height:5px;border:none;border-top:1px dashed gray;padding-bottom:10px;" />
    </c:forEach>  
    </ul>               
  </div>
 <div>
	<nav>
	  <ul class="pagination pagination-sm">
	    ${pageCode }
	  </ul>
	</nav>
 </div>		
  <div id="foot">
    <jsp:include page="foot.jsp"/>
  </div>
</div>
</body>
</html>
